<!DOCTYPE html>
<html class="x-admin-sm">
    
    <head>
        <meta charset="UTF-8">
        <title>添加</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <link rel="stylesheet" href="/static/css/font.css">
        <link rel="stylesheet" href="/static/css/xadmin.css">
        <script type="text/javascript" src="/static/lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="/static/js/xadmin.js"></script>
        <script type="text/javascript" src="/static/js/jquery.min.js"></script>
		<script type="text/javascript" src="/static/js/jquery.form.js"></script>
        <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
        <!--[if lt IE 9]>
            <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
            <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
    </head>
    <body>
		<div class="x-nav">
          <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row">
				<form class="layui-form" id="signupForm" action="{:url('shop/consult/addconsgoods')}" method="post">
				  <div class="layui-tab-content">
					<div class="layui-form-item">
						  <label class="layui-form-label">产品名称</label>
						  <div class="layui-input-inline" style="width:550px;">
							<input type="text" name="goods_name" placeholder="请输入产品名称" class="layui-input">
						  </div>
					 </div>
					 <div class="layui-form-item">
						<div class="layui-inline">
						  <label class="layui-form-label">产品分类</label>
						  <div class="layui-input-inline">
								<select name="category_id" lay-filter="zcate">
                                    <option value="">请选择产品分类</option>
                                    {volist name="fcat" id="vo"}
                                    <option value="{$vo.category_id}">{$vo.category_name}</option>
                                    {/volist}
                                </select>
						  </div>
						</div>
						<div class="layui-inline">
						  <label class="layui-form-label">产品子分类</label>
						  <div class="layui-input-inline">
								<select name="cat_id" id="cat_id" lay-filter="bute">
                                    <option value="">请选择产品子分类</option>
                                </select>
						  </div>
						</div>
					 </div>
					 <div class="layui-form-item">
						<div class="layui-inline">
						  <label class="layui-form-label">产品品牌</label>
						  <div class="layui-input-inline">
								<select name="brand_name" id="brand_name" lay-filter="attribute">
                                    <option value="">请选择产品品牌</option>
                                </select>
						  </div>
						  <div class="layui-input-inline">
								<input type="text" name="sr_brand_name" placeholder="请输入产品品牌" class="layui-input">
						  </div>
						</div>
					 </div>
					 <div class="layui-form-item">
						  <label class="layui-form-label">产品型号</label>
						  <div class="layui-input-inline" style="width:550px;">
							<input type="text" name="marker" placeholder="请输入产品型号" class="layui-input">
						  </div>
					 </div>
					 <div class="layui-form-item">
						<div class="layui-inline">
						  <label class="layui-form-label">内存</label>
						  <div class="layui-input-inline">
								<select name="memory_name" id="memory_name" lay-filter="attribute">
                                    <option value="">请选择产品内存</option>
                                </select>
						  </div>
						</div>
						<div class="layui-inline">
						  <label class="layui-form-label">属性</label>
						  <div class="layui-input-inline">
								<input type="text" name="attribute_name" placeholder="请输入产品属性" class="layui-input" >
						  </div>
						</div>
					 </div>
					 <div class="layui-form-item">
						<div class="layui-inline">
						  <label class="layui-form-label">产品颜色</label>
						  <div class="layui-input-inline">
								<input type="text" name="colour_name" placeholder="请输入产品颜色" class="layui-input" >
						  </div>
						</div>
						<div class="layui-inline">
						  <label class="layui-form-label">是否有货</label>
						  <div class="layui-input-inline">
								<select name="is_stock">
									<option value="-1">请选择是否有货</option>
									<option value="0">无货</option>
									<option value="1">有货</option>
								</select>
						  </div>
						</div>
					 </div>
					 <div class="layui-card-body ">
						<div class="page">
							<div class="layui-form-item">
                              <input type="hidden" name="goods_sn" value="{$sn}"/>
							  <button  class="layui-btn" lay-filter="quxiao" lay-submit="">取消</button>
							  <button  class="layui-btn" lay-filter="add" lay-submit="">确定</button>
						  </div>
						</div>
					</div>
				  </div>
			  </form>
            </div>
        </div>
        <script type="text/javascript" src="/static/customized/shop/addconsgoods.js"></script>
    </body>
</html>
